package com.p2p.terminal.po;

import java.sql.Timestamp;
import java.util.Date;

public class P2pMacError {
    private Long id;

    private String cmac;

    private Integer ipCount;

    private Integer errorType;

    private String errorInfo;

    private Integer errorCount;

    private Integer errorTerminalCount;

    private Timestamp dateTime;

    private String agentCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCmac() {
        return cmac;
    }

    public void setCmac(String cmac) {
        this.cmac = cmac == null ? null : cmac.trim();
    }

    public Integer getIpCount() {
        return ipCount;
    }

    public void setIpCount(Integer ipCount) {
        this.ipCount = ipCount;
    }

    public Integer getErrorType() {
        return errorType;
    }

    public void setErrorType(Integer errorType) {
        this.errorType = errorType;
    }

    public String getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(String errorInfo) {
        this.errorInfo = errorInfo;
    }

    public Integer getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(Integer errorCount) {
        this.errorCount = errorCount;
    }

    public Integer getErrorTerminalCount() {
        return errorTerminalCount;
    }

    public void setErrorTerminalCount(Integer errorTerminalCount) {
        this.errorTerminalCount = errorTerminalCount;
    }

    public Timestamp getDateTime() {
        return dateTime;
    }

    public void setDateTime(Timestamp dateTime) {
        this.dateTime = dateTime;
    }

    public String getAgentCode() {
        return agentCode;
    }

    public void setAgentCode(String agentCode) {
        this.agentCode = agentCode == null ? null : agentCode.trim();
    }
}